package jmu.edu.yjc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import jmu.edu.yjc.domain.entity.Article;
import jmu.edu.yjc.domain.vo.article.ArticleDetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 文章表(Article)表数据库访问层
 *
 * @author makejava
 * @since 2023-02-05 15:52:35
 */
public interface ArticleMapper extends BaseMapper<Article> {

    List<ArticleDetailVo> articleList(@Param("res") Integer res,
                                      @Param("tar") Integer tar, @Param("cid") Long cid,
                                      @Param("categoryId") Long categoryId, @Param("searchString") String searchString);
}

